home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / ODDesc.idl < prev    next >
Encoding:
Text File  |  1997-02-13  |  997 b   |  50 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _ODDESC_
  4. #define _ODDESC_
  5.  
  6. #ifndef _ODOBJECT_
  7. #include "ODObject.idl"
  8. #endif
  9.  
  10. //==============================================================================
  11. // Classes defined in this interface
  12. //==============================================================================
  13.  
  14. interface  ODDesc;
  15.  
  16. //==============================================================================
  17. // ODDesc
  18. //==============================================================================
  19.  
  20. interface ODDesc : ODObject
  21. {
  22.     void InitODDesc();
  23.  
  24.     void SetDescType(in ODDescType descType);
  25.     void SetRawData(in    ODByteArray    data);
  26.     ODDescType GetDescType();
  27.     ODByteArray GetRawData();
  28.  
  29. #ifdef    __SOMIDL__
  30.     implementation
  31.     {
  32.         majorversion = 1; minorversion = 0;
  33.  
  34.           functionprefix = ODDesc;
  35.  
  36.         override:
  37.             somUninit;
  38.         releaseorder:
  39.             InitODDesc,
  40.             SetDescType,
  41.             SetRawData,
  42.             GetDescType,
  43.             GetRawData;
  44.  
  45.     };
  46. #endif
  47. };
  48.  
  49. #endif    //#    _ODDESC_
  50.